Einhugur Color Management Plugin for Objo

Einhugur.ColorManagement.ICCColorProfile Class

A class to load ICC profiles, get information about them, convert color profiles on RawBitmaps and more.

Note:
This class currently only supports converting between different RGB based profiles, Gray profiles and CMYK profiles as well. It does not support other types of color spaces.

Object
   Einhugur.ColorManagement.ICCColorProfile

class Einhugur.ColorManagement.ICCColorProfile

Properties

ChannelCountReturns channel could on the color Profile.
ColorSpaceTypeReturns the color space type of the Color profile. This can be any value from the ColorSpaceTypeValues enum.
CopyrightGets the copyright information of the ICC color profile.
DescriptionGets the description of the ICC color profile.
ManufacturerGets the manufacturer of the ICC color profile.
ModelReturns model information from the color profile.

Methods

ApplyColorProfileApplies color profile to a RawBitmap instance.
shared CMYKColorToRGBColorConverts a single CMYK color to a RGB color using color profiles.
ConvertToColorProfileConverts color profile on a RawBitmap, creating new instance of RawBitmap with the result.
ConvertToColorProfileConverts color profile on a RawBitmap taking destination hint as parameter, creating new instance of RawBitmap with the result.
ConvertToColorProfileAsyncDoes async color profile conversion on a RawBitmap, creating new instance of RawBitmap with the result.
ConvertToColorProfileAsyncDoes async color profile conversion on a RawBitmap taking destination hint as parameter, creating new instance of RawBitmap with the result.
ConvertToColorProfileInPlaceConverts color profile on a RawBitmap in place.
ConvertToColorProfileInPlaceAsyncDoes async color profile conversion on a RawBitmap in place.
shared CreateD50_Gray_Lab_Trc_ProfileCreates D50 Gray Lab Trc color profile.
shared CreateD65_Gray_Linear_ProfileCreates D65 Gray Linear color profile.
shared CreateD65_Gray_sRGB_Trc_ProfileCreates D65 Gray sRGB Trc color profile.
shared CreateRGB_Adobe_ProfileCreates RGB Adobe color profile.
shared Create_sRGB_ProfileCreates standard sRGB color profile.
DisposeReleases unmanaged resources used by the ICCColorProfile class.
shared FromBytesCreates instance of the ICCColorProfile class from a MemoryBlock that contains valid ICCColorProfile data.
shared FromFileCreates instance of the ICCColorProfile class from a file that contains ICC color profile.
shared FromRawBitmapCreates instance of ICCColorProfile from a RawBitmap object.
shared RGBColorToCMYKColorConverts a single RGB color to a CMYK color using color profiles.
shared SystemColorProfileReturns the system color profile used for the main display.
shared SystemColorProfilesFolderReturns FolderItem for directory where system color profiles are are stored.

Supported Platforms:

  • macOS Intel 64 bit
  • macOS Apple Silicon
  • Windows 64 bit
  • Windows ARM 64 bit
  • Linux 64 bit
  • Linux ARM 64 bit